import Layout from '@/views/layout'

export default [
  {
    path: '/gasStationManage',
    name: 'gasStationManage',
    redirect: '/gasStationManage/gasStationInfo',
    component: Layout,
    meta: {
      title: '油站管理',
      icon: 'gas.png',
      index: 6
    },
    children: [
      {
        path: 'gasStationInfo',
        name: 'gasStationInfo',
        componentName: 'gasStationManage_gasStationInfo',
        meta: {
          title: '油站信息'
        },
        component: () => import('@/views/gasStationManage/gasStationInfo')
      },
      {
        path: 'gasDetail',
        name: 'gasDetail',
        hidden: true,
        meta: {
          title: '油站信息'
        },
        component: () => import('@/views/gasStationManage/gasStationInfo/gasDetail')
      },
      {
        path: 'oilPriceManage',
        name: 'oilPriceManage',
        componentName: 'gasStationManage_oilPriceManage',
        meta: {
          title: '油价管理'
        },
        component: () => import('@/views/gasStationManage/oilPriceManage')
      },
      {
        path: 'gasGunManage',
        name: 'gasGunManage',
        componentName: 'gasStationManage_gasGunManage',
        meta: {
          title: '油枪管理'
        },
        component: () => import('@/views/gasStationManage/oilGunManage')
      },
      {
        path: 'openTime',
        name: 'openTime',
        componentName: 'gasStationManage_openTime',
        meta: {
          title: '营业时间'
        },
        component: () => import('@/views/gasStationManage/openTime')
      }
    ]
  }
]